package org.security.annotation.able;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;

import java.util.List;

/**
 * @author jt
 * @date 2024/7/28 11:21
 */
@ConditionalOnMissingBean(value = AuthertizerAble.class)
public abstract class DefaultAutherizerAble implements AuthertizerAble{
    @Override
    public boolean haveAuthority(List<String> scopes, String token) {
        return false;
    }
}
